package com.atguigu.bigdata.spark.rdd.instance;

import org.apache.spark.api.java.JavaSparkContext;

/**
 * @Author gmd
 * @Description Spark上下文对象创建-直接传参创建
 * @Date 2024-05-26 16:12:57
 */
public class Spark01_Env_1 {

    public static void main(String[] args) {
        // 构建Spark的运行环境
        final JavaSparkContext jsc = new JavaSparkContext("local", "spark");
        // 释放资源
        jsc.close();
    }

}
